#pragma once
#include <iostream>
using namespace std;
class Shape{
public:
	enum LineThick {
		invisible,thin,normal,rough
	};
	enum LineType{
		solid, dashed,dotted
	};
	virtual void rotate(int)=0;
	virtual void draw()=0;
	virtual bool is_closed() = 0;
	virtual bool intersection(Shape*) = 0;
	void thickness(LineThick thick=normal) 
		{ lineThickness = thick; }
	void outline(LineType type=solid) 
		{ outlineType = type; }

protected:
	LineThick lineThickness;
	LineType outlineType;
};


